package com.heima.model.common.pojos.comment;


import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Date;

@Document("ap_comment")
@Data
public class ApComment implements Serializable {
    private static final long serialVersionUID = 1L;
    private String id;
    private Integer authorId;
    private String authorName;
    private String content;
    private Date createdTime;
    private Long entryId;
    private Integer reply;
    private Integer flag;   //高亮 0：默认 1：高亮
    private Integer type;
    private Integer likes;
}
